package date02;

public class DataTypeDemo {
    public static void main(String[] args) {
        System.out.println(2/5);
        System.out.println(7/3.3);
        long a=100L;//不加L就是int类型，所以后面不要忘了加L;
        long b=100000000*3*10L;
        long c=100000000*3*100;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        double d=6.0;
        double e=4.9;//精确场合不能使用double,有可能发生舍入误差
        System.out.println(d-e);
        char c8=6553;
        char c7='女';//0到65535之间
        char c9='\\';
        System.out.println(c8);
        System.out.println(c7);
        System.out.println(c9);
        System.out.println('2'+'2');
        System.out.println('2'+2);
        System.out.println('2'+2);

    }
}
